public class Test {
    public static void main(String[] args) {
        MySingleLinkedList mySingleLinkedList = new MySingleLinkedList();
        mySingleLinkedList.addLast(1);
        mySingleLinkedList.addLast(1);
        mySingleLinkedList.addLast(6);
        mySingleLinkedList.addLast(3);
        mySingleLinkedList.addLast(4);
        mySingleLinkedList.addLast(5);
        mySingleLinkedList.display();
        mySingleLinkedList.removeAllKey(1);
        mySingleLinkedList.display();
    }
}
